package io.renren.modules.generator.service;

import io.renren.modules.generator.entity.CourseEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2017-10-19 00:06:48
 */
public interface CourseService {
	
	CourseEntity queryObject(String classno);
	
	List<CourseEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(CourseEntity course);
	
	void update(CourseEntity course);
	
	void delete(String classno);
	
	void deleteBatch(String[] classnos);
	
	Map<String, String> queryCourseDetail(String classno);
}
